get List
inline suspend fun <T : BaseModel> getList(sub: String, page: Int, perPage: Int, sortBy: SortFields = SortFields(), filterBy: Filter = Filter(), expandRelations: ExpandRelations = ExpandRelations(), showFields: ShowFields = ShowFields(), skipTotal: Boolean = false): ListResult<T>
Fetches a paged list of records
Parameters
sub
The collection you wish to preform this action on
page
The page number you wish to fetch.
per Page
The amount of records you wish to have per-single-page